using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace Renderer.Utils
{
    /// <summary>
    /// This class is used for logging any useful information
    /// Also it is used in ExceptionHandler to log info concerning exception
    /// </summary>
    class Logger
    {
        public static void Log(string msg)
        {
            StreamWriter writer = new StreamWriter("log.log", true);
            writer.WriteLine(DateTime.Now + ":" + msg);
            writer.Close();
        }
    }
}
